<?php /* Smarty version 2.6.26, created on 2015-03-27 02:44:17
         compiled from home.html */ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $this->_tpl_vars['test']['title']; ?>
</title> 

<style type="text/css">
</style>
</head>
<body>
我是模板
<?php echo $this->_tpl_vars['test']; ?>

<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
<dl><?php echo $this->_tpl_vars['key']; ?>
<?php echo $this->_tpl_vars['value']['a']; ?>
</dl>		
<?php endforeach; else: ?>
xxx
<?php endif; unset($_from); ?>
<br>
<?php echo $this->_tpl_vars['tmp']; ?>

</body>
</html> 